package com.example.spring_demo.ioc.v3;

import com.example.spring_demo.ioc.v3.Bottom;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

/**
 * @className: Framework
 * @author: 芃
 * @description:
 * @date: 2024/12/23 11:43
 */
@Component
public class Framework {

    @Autowired
    private Bottom bottom;


    public Framework(Bottom bottom) {
        this.bottom = bottom;
        System.out.println("framework is created");
    }
}
